//@athour Reenu



public class TvDemo {

	public static void main(String[] args)
	{
		TV tv = new TV();
		//boolean tvPower =false;
		boolean tvPower =true;
		String source="";
		
		
		if(tvPower==true)
		{
			System.out.println("Select source");
			 source="tv";
			//source="pc";
			//source="hdmi 1";
			//source="hdmi 2";
			//source="hdmi 3";
			//source="default";
			tv.selectSource(source); 
			System.out.println("if you are done watching tv, switch it off.");
			tv.switchTVOff();
		}
		else
		{
			System.out.println("Switch the tv on");
			tv.switchTVOn();
		}
		
		
		
	}

}
